package com.talent.service;

import java.util.List;

import com.talent.page.Page;
import com.talent.pojo.Schedule;
import com.talent.pojo.User;
import com.talent.vo.TrainDetailVo;

public interface TrainDetailService {

	List<TrainDetailVo> selectVoByTrainPlanKey(Integer id);

	Page<TrainDetailVo> selectTrainDetailPage(TrainDetailVo trainDetail, User user, int currentPage);

	TrainDetailVo selectVoByPrimaryKey(Integer id);

	void add(int latestTrainPlanId, List<Schedule> schedules);

	void deleteByIds(List<TrainDetailVo> tds);

}
